projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca8b2e
)
[XEND] Remove usage of set() in XendMonitor as it is a py2.4+ feature
author
Alastair Tse
<atse@xensource.com>
Thu, 25 Jan 2007 10:29:33 +0000
(10:29 +0000)
committer
Alastair Tse
<atse@xensource.com>
Thu, 25 Jan 2007 10:29:33 +0000
(10:29 +0000)
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendMonitor.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendMonitor.py
b/tools/python/xen/xend/XendMonitor.py
index 855cff216c68e57dc7e45cb1db442c86eac38014..7a3046c3c390e7c9e0de9850542c1d840bc9100f 100644
(file)
--- a/
tools/python/xen/xend/XendMonitor.py
+++ b/
tools/python/xen/xend/XendMonitor.py
@@
-220,11
+220,11
@@
class XendMonitor(threading.Thread):
while True:
self.lock.acquire()
try:
- active_domids =
set()
+ active_domids =
[]
# Calculate utilisation for VCPUs
for domid, cputimes in self._get_cpu_stats().items():
- active_domids.a
d
d(domid)
+ active_domids.a
ppen
d(domid)
if domid not in self._domain_vcpus:
# if not initialised, save current stats
# and skip utilisation calculation